package com.yswl.yeeduo.ui.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.google.gson.Gson;

public class BannerBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1027289363422906725L;

//	"url": "http://s.lifedoo.cn:8088/M00/00/02/CqgtmFX_fkaAVyNxAAK89y3Q6eo115.jpg",
//    "link": "http://mp.weixin.qq.com/s?__biz=MzIwNzA1NjM1NA==&mid=210345219&idx=1&sn=72a6951efbde384d88dd7b40045fe02f#rd"


	public String url;
	public String link;

	public static List<BannerBean> json2List(String objarray) {
		List<BannerBean> listBean ;
		Gson gson = new Gson();
		java.lang.reflect.Type type = new com.google.gson.reflect.TypeToken<ArrayList<BannerBean>>() {
		}.getType();
		listBean = gson.fromJson(objarray, type);
		return listBean;
	}
}
